Part Number Hot Search : 
G1VA15C IMP809 74F280SC 25LQ64C R3040 SM4T7V5 TLE42 SGM811
Product Description
Full Text Search
 

To Download CY7C63101 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  preliminary fax id: 3401 cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 cypress semiconductor corporation ? 3901 north first street ? san jose ? ca 95134 ? 408-943-2600 october 1996 - revised june 26, 1997 1cy 7 c63 00 0 cy7c63000 cy7c63001 cy7c63100 CY7C63101 cy7c63200 cy7c63201 universal serial bus microcontroller
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 2 table of contents 1.0 features ...... ............................................................................................................................... 4 2.0 functional overview .... .........................................................................................................4 3.0 pin definitions .......................................................................................................... .................6 4.0 pin description .......................................................................................................... ...............7 5.0 functional description ... .....................................................................................................7 5.1 memory organization ....................................................................................................................7 5.1.1 program memory organization ............................................................................................ ...............7 5.1.2 security fuse bit ........................................................................................................ ............................ 7 5.1.3 data memory organization ................................................................................................ ...................9 5.2 i/o register summary ... ................................................................................................................9 5.3 reset ..... ............................................................................................................................... .........10 5.3.1 power-on reset (por) ................................................................................................... .................... 10 5.3.2 watch dog reset (wdr) .................................................................................................. .................. 11 5.3.3 usb bus reset .......................................................................................................... .........................11 5.4 on-chip timer . .............................................................................................................................11 5.5 general purpose i/o ports ................................................................................................ ..........12 5.6 instant-on feature (suspend mode) .. ........................................................................................14 5.7 xtalin/xtalout ...... ..................................................................................................................14 5.8 interrupts .. ............................................................................................................................... .....15 5.8.1 interrupt latency ...................................................................................................... .......................... 16 5.8.2 gpio interrupt ......................................................................................................... ............................16 5.8.3 usb interrupt .......................................................................................................... ............................ 17 5.8.4 timer interrupt ........................................................................................................ ............................ 17 5.8.5 wake-up interrupt ...................................................................................................... .........................17 5.9 usb engine ..... .............................................................................................................................17 5.9.1 usb enumeration process ................................................................................................ ................ 18 5.9.2 end point 0 ............................................................................................................ .............................. 18 5.9.2.1 end point 0 receive .................................................................................................. .................................. 18 5.9.2.2 end point 0 transmit ................................................................................................. .................................. 18 5.9.3 end point 1 ............................................................................................................ .............................. 20 5.9.3.1 end point 1 transmit ................................................................................................. .................................. 20 5.9.4 usb status and control ................................................................................................. .................... 20 5.10 instruction set summary ... .......................................................................................................21 6.0 absolute maximum ratings ... ............................................................................................22 7.0 dc characteristics ..............................................................................................................22 8.0 switching characteristics ... ............................................................................................23 9.0 ordering information .. .......................................................................................................24 10.0 package diagrams ........................................................................................................ ......25
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 3 table of figures figure 5-1. program memory space ...... ............................................................................................. 8 figure 5-2. data memory space .. ........................................................................................................ 9 figure 5-3. status and control register (address 0xff) ...... .......................................................... 10 figure 5-4. watch dog reset (wdr) ...... ........................................................................................... 11 figure 5-5. timer register (address 0x23) ....................................................................................... 11 figure 5-6. timer block diagram. ...................................................................................................... 12 figure 5-7. port 0 data register (address 0x00) . ............................................................................ 12 figure 5-8. port 1 data register (address 0x01) . ............................................................................ 12 figure 5-9. block diagram of an i/o line... ....................................................................................... 13 figure 5-10. port 0 pull-up register (address 0x08).. ..................................................................... 13 figure 5-11. port 1 pull-up register (address 0x09).. ..................................................................... 13 figure 5-12. port isink register for one gpio line......................................................................... 14 figure 5-13. the cext register (address 0x22) ... ............................................................................ 14 figure 5-14. clock oscillator on-chip circuit .. ................................................................................ 14 figure 5-15. global interrupt enable register (address 0x20).... ................................................... 15 figure 5-16. interrupt controller logic block diagram ................................................................... 15 figure 5-17. port 0 interrupt enable register (address 0x04)..... ................................................... 16 figure 5-18. port 1 interrupt enable register (address 0x05)..... ................................................... 16 figure 5-19. gpio interrupt logic block diagram ...... ..................................................................... 17 figure 5-20. usb device address register (address 0x12) . .......................................................... 18 figure 5-21. usb end point 0 rx register (address 0x14) .. .......................................................... 18 figure 5-22. usb engine response to setup and out transa ctions on end point 0 .. .............. 19 figure 5-23. usb end point 0 tx configuration register (address 0x10) .................................... 19 figure 5-24. usb end point 1 tx configuration register (address 0x11) .................................... 20 figure 5-25. usb status and control register (address 0x13)... ................................................... 20 figure 8-1. clock timing ... ................................................................................................................. 24 figure 8-2. usb data signal timing .................................................................................................. 24 table of tables table 5-1. i/o register summary............................................................................................... ..........9 table 5-2. output control truth table ......................................................................................... .....13 table 5-3. interrupt vector assignments....................................................................................... ...16 table 5-4. instruction set map .... .......................................................................................................21 2
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 4 1.0 features ? low-cost solution for low-sp eed usb peripherals such as mouse, joystick, and gamepad ? usb specification compliance conforms to usb 1.5 mbps specification, version 1.0 conforms to usb hid specification, version 1.0 supports 1 device address and 2 endpoints ? 8-bit risc microcontroller harvard architecture 6 mhz external ceramic resonator or clock crystal 12 mhz internal operation usb optimized instruction set ? internal memory 128 bytes of ram 2k bytes of eprom (cy7c63000, cy7c63100, cy7c63200) 4k bytes of eprom (cy7c63001, CY7C63101, cy7c63201) ? i/o ports integrated usb transceivers up to 16 schmitt trigger i/o pins with internal pull-up up to 8 i/o pins with led drive capability special purpose i/o mode supports optimization of photo transistor and led in mouse application maskable interrupts on all i/o pins ? 8-bit free-running timer ? watchdog timer (wdt) ? internal power-on reset (por) ? improved output drivers to reduce emi ? operating voltage from 4.0v to 5.25vdc ? operating temperature from 0 to 70 degree celsius ? available in space saving and low cost 18-pin pdip, 20-pin pdip, 20-pin soic, and 24-pin soic pac kages ? windowed packages also available to support program development: 18, 20, and 24-pin windowed cerdip ? industry standard programmer support 2.0 functional overview the cy7c63xxx is a family of 8-bit risc one time programmable (otp) microcontrollers with a built-in 1.5-mbps usb serial interface engine. the microcontrol ler features 35 instructions which are optimized for usb applicat ions. there is 128 bytes of onboard ram available incorporated into each microcont roller. the cypress usb controller accepts a 6 mhz ceramic resonator or a 6 mhz crystal as its clock source. this clock is doubled within the chip to provide a 12 mhz clock for the microprocessor. the microcontroller features two ports of up to si xteen general purpose i/os (gpios). each gpio pin can be used to generate an interrupt to the microcontroller. additionally, all pins in port 1 are equipped with programmable drivers strong enough to drive leds. the gpio ports f eature low emi emissions as a result of controlled rise and fall times, and unique output driver circuits in the microcontroller. the cypress microcont rolles have a range of gpios to fit various applications; the cy7c630xx has twelve gpio, the cy7c631xx has sixteen g pio, and the cy7c63 2xx has ten gpio. notice that e ach part has eight low-current ports (port 0)with the remaining ports (port 1) being high-current the twelve gpio cy7c6300x is available in is a 20-pin pdip (- pc), 20-pin soic (-sc), and a 20-pin windowed cerdip. the sixteen gpio cy7c6310x is available in a 24-pin soic (-sc) and a 24-pin windowed cerdip (-sc). the ten gpio cy7c6320x is available in an 18-pin pdip (-pc) and an 18-pin windowed cerdip (-wc).
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 5 . pinconfigurations (top view) logic block diagram 6311C1 usb d+,dC port p0.0Cp0.7 interrupt controller 0 port p1.0Cp1.7 1 8-bit risc osc ram 128 byte eprom 2k/4k byte 1 2 3 4 5 6 7 9 13 14 15 16 17 18 20 19 p0.0 p0.1 p0.2 p0.3 p1.0 p1.2 vss cext p0.4 p1.1 p0.6 p0.7 d+ p1.3 d- vcc dip/soic/ 12 p0.5 8 vpp xtalin xtalout 10 11 core power 8-bit timer on reset engine watch timer 1 2 3 4 5 6 7 9 11 12 13 14 15 16 18 17 p0.0 p0.1 p0.2 p0.3 p1.0 vss vpp xtalin p0.4 p1.1 p0.6 p0.7 d- d+ vcc xtalout dip/ 10 p0.5 8 cext dog 6 mhz resonator 1 2 3 4 5 6 9 11 15 16 17 18 19 20 22 21 p0.0 p0.1 p0.2 p0.3 p1.0 p1.2 vss cext p0.6 p1.5 p1.1 p1.3 d+ p1.7 dC vcc 24-pin 14 p0.7 10 vpp xtalin xtalout 12 13 7 8 p1.4 p1.6 24 23 p0.4 p0.5 aaaa a aaa a aaa a aaa a aaa a aaa a aaa a aaa a aaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaa aa a aa a aa a aa a aa a aa a aa a aa a aaa instant-on now r/c ext v cc /v ss soic/ 20-pin 18-pin windowed cerdip windowed cerdip windowed cerdip
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 6 3.0 pin definitions name i/o 18-pin 20-pin 24-pin description p0.0 i/o 1 1 1 port 0 bit 0 p0.1 i/o 2 2 2 port 0 bit 1 p0.2 i/o 3 3 3 port 0 bit 2 p0.3 i/o 4 4 4 port 0 bit 3 p0.4 i/o 18 20 24 port 0 bit 4 p0.5 i/o 17 19 23 port 0 bit 5 p0.6 i/o 16 18 22 port 0 bit 6 p0.7 i/o 15 17 21 port 0 bit 7 p1.0 i/o 5 5 5 port 1 bit 0 p1.1 i/o 14 16 20 port 1 bit 1 p1.2 i/o C 6 6 port 1 bit 2 p1.3 i/o C 15 19 port 1 bit 3 p1.4 i/o C C 7 port 1 bit 4 p1.5 i/o C C 18 port 1 bit 5 p1.6 i/o C C 8 port 1 bit 6 p1.7 i/o C C 17 port 1 bit 7 xtalin i 9 10 12 crystal / ceramic resonator in or external clock input xtalout o 10 11 13 crystal / ceramic resonator out cext i/o 8 9 11 connects to external r/c ti ming circuit for opt ional suspend wakeup d+ i/o 13 14 16 usb data+ dC i/o 12 13 15 usb dataC vpp C 7 8 10 programming voltage supply, tie to ground during normal operation v cc C 11 12 14 voltage supply v ss C 6 7 9 ground
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 7 5.0 functional descrip tion the cypress cy7c63000/1, cy7c63100/1, and cy7c63200/1 usb mic rocont rollers are optimized for human-interface comput- er peripherals such as a mouse, joystick, and gamepad. cypress usb microcontrollers conform to the low-speed (1.5 mbps) requirements of the usb speci fication version 1.0. each micorcontroller is a self-contained unit with a usb interface engine, usb transceivers, an 8- bit risc m icrocont roller, a clock oscillator, timers, and program memories. it supports one usb device address and two end points. the 6 mhz clock generated by the on-chip oscillator is stepped up to 12 mhz to drive the microcontroller. a risc architecture with 35 instructions is chosen to provide the best balance between performance and product cost. 5.1 memory organization the memory in the usb controller is organized into user program memory in eprom space and data memory in sram space. 5.1.1 program memory organization the 14-bit program counter (pc) is capable of addressing 16k bytes of program space. however, the program space of the cy7c63000, cy7c63100 and cy7c63200 is 2k bytes. for applications requi ring more program s pace, the cy7c63001, CY7C63101 and cy7c63201 each offer 4k bytes of eprom. the program memory space is divided into two functional groups: interrupt vectors and program code. the interrupt vectors occupy the f irst 16 bytes of the program space. each vector is 2 bytes long. af ter a reset, the program counter points to location zero of the program space. figure 5-1 shows the organization of the program memory space. 5.1.2 security fuse bit the cypress usb microcontrol ler inclu des a security fuse bit. when the security fuse is programmed, the eprom program memory outputs 0xff to the eprom programmer, thus protecting the users code. 4.0 pin description name description v dd 1 pin. connects to the usb power source or to a nominal 5v power supply. actual v cc range can vary between 4.0v and 5.25v v ss 1 pin. connects to ground v pp 1 pin. used in programming the on-chip eprom. this pin should be tied to ground during normal operations. xtalin 1 pin. input from an external ceramic resonator, cryst al, or clock xtalout 1 pin. return path for the ceramic resonator or crystal p0.0Cp0.7, p1.0Cp1.7 16 pins. p0.0Cp0.7 are the 8 i/o lines in port 0. p1.0Cp1.7 are the 8 i/o lines in port 1. please note that p1.0Cp1.1 are supported in the cy7c6320x and p1.0Cp1.3 are supported in the cy7c6300x. all i/o pins are pulled up internally by 16k w resistors. however, the sink current of each pin can be programmed to one of sixteen levels. besides functioning as general purpose i/o lines, each pin can be programmed as an interrupt input. the interrupt is edge-triggered, with programmable polarity. d+, dC 2 pins. open-drain i/o with 2 pins. bidirectional usb data lines. an external 7.5 k w resistor must be connected between the dC pin and v cc to select low-speed usb operation. cext 1 pin. open-drain output with schmitt trigger input. the input is connected to a level-sensitive (high) interrupt. cext may be c onnected to an external rc to gener ate a wake-up f rom su spend mode. see section 5.6.
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 8 after reset address pc 0x0000 reset vector 0x0002 interrupt vector - 128 m s 0x0004 interrupt vector - 1.024 ms 0x0006 interrupt vector - usb endpoint 0 0x0008 interrupt vector - usb endpoint 1 0x000a reserved 0x000c interrupt vector - gpio 0x000e interrupt vector - cext 0x0010 on-chip program memory 0x07ff 2k rom (cy7c63000, cy7c63100,cy7c63200) 0x0fff 4k rom (cy7c63001, CY7C63101, cy7c63201) figure 5-1. program memory space
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 9 5.1.3 data memory organization the usb controller inclu des 128 bytes of data ram. the upper 16 bytes of the data memory are used as usb fifos for end point 0 and end point 1. each end point is associated with an 8-byte fifo. the usb controller includes two pointers into data ram, the program stack pointer (psp) and the data stack pointer (dsp). the value of psp after reset is 0x00. the psp is incremented by 2 whenever a call instruction is executed and it is decremented by 2 whenever a ret instruction is used. the dsp is pre-decremented by 1 w henever a push instruction is executed and it is incr emented by 1 after a pop instruction is used. the default value of the dsp after reset is 0x00, which would cause the f irst push to write into usb fifo s pace for end point 1. therefore, the dsp should be mapped to a location such as 0x70 before initiating any data stack operations. refer to the reset section for more information about dsp re-mapping after reset. figure 5-2 illustrates the data memory space. 5.2 i/o register summary i/o registers are acces sed via the i/o read (iord) and i/o write (iowr, iowx) instructions. after reset address dsp psp 0x00 0x02 0x04 0x6e dsp 0x70 usb fifo - endpoint 0 0x77 0x78 usb fifo - endpoint 1 0x7f figure 5-2. data memory space table 5-1. i/o register summary register name i/o address read/write function port 0 data 0x00 r/w general purpose i/o port (low current) port 1 data 0x01 r/w general purpose i/o port (high current) port 0 interrupt enable 0x04 w interrupt enable for pins in port 0 port 1 interrupt enable 0x05 w interrupt enable for pins in port 1 port 0 pull-up 0x08 w pull-up resistor control for port 0 pins port 1 pull-up 0x09 w pull-up resistor control for port 1 pins usb ep 0 tx config. 0x10 r/w usb end point 0 transmit configuration usb ep 1 tx config. 0x11 r/w usb end point 1 transmit configuration usb device address 0x12 r/w usb device address usb status & control 0x13 r/w usb status and control usb ep 0 rx status 0x14 r/w usb end point 0 receive status
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 10 5.3 reset the usb controller supports three types of resets. all registers are restored to their default states during a reset. the usb de vice address is set to 0 and all interrupts are disabled. in addition, the program stack pointer (psp) is set to 0x00 and the data stack pointer (dsp) is set to 0x00. the user should set the dsp to location 0x70 to reserve 16 bytes of fifo space. the assembly instructions to do so are: mov a, 70h ; move 70 hex into accumulator, use 70 instead of 6f because the dsp is ; always decremented by 1 before data transfer in the push instruction swap a, dsp ; move accumulator value into dsp the three reset types are: 1. power on reset (por) 2. watch dog reset (wdr) 3. usb reset the occurrence of a reset is recorded in the status and control register located at i/o address 0xff ( figure 5-3 ). reading and writing this register are supported by the iord and iowr instructions. bits 1, 2, and 7 are reserved and must be written as zeros during a write. during a read, reserved bit positions should be ignored. bits 4, 5, and 6 are used to record the occurrence of por, usb and wdr reset respectively. the firmware can interrogate these bits to determine the cause of a reset. bit 0 is the run control, clearing this bit will stop the microcontroller. once this bit is set to low, only a reset can set this bit high. the microcontroller resumes execut ion from rom address 0x00 after a reset unless the suspend bit (bit 3) of the status and control register is set. setting the suspend bit stops the clock oscillator and the i nterrupt timers as well as powering-down the microcontroller. the detection of any usb activity w ill terminate the su spend co ndition. 5.3.1 power-on reset (por) power on reset (por) occurs every time the power to the device is switched on. bit 4 of the status and control register is set to record this event (the register contents are set to 00011001 by the por). the usb control ler is placed in s uspended mode at the end of por to conserve power (most device functions such as the clock oscillator, the timers, and the interrupt logic are t urned off in the suspend mode). only a non-idle usb bus state will terminate the suspend mode and begin normal operations. global interrupt enable 0x20 r/w global interrupt enable watch dog timer 0x21 w watch dog timer clear cext clear 0x22 r/w external r-c timing circuit control timer 0x23 r free-running timer port 0 isink 0x 30-0x37 w input sink current cont rol for port 0 pins. there is one isink register for each pin. address of the isink register for pin 0 is located at 0x30 and the register address for pin 7 is located at 0x37 port 1 isink 0 x38-0x3b w input sink current cont rol for port 1 pins. there is one isink register for each pin. address of the isink register for pin 0 is located at 0x38 and the register address for pin 3 is located at 0x3b status & control 0xff r/w p roce ssor status and control 7 6 5 4 3 2 1 0 w r/w r/w r/w r/w w w r/w reserved watch dog reset usb reset power-on reset suspend reserved reserved run figure 5-3. status and control register (address 0xff) table 5-1. i/o register summary (continued) register name i/o address read/write function
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 11 5.3.2 watch dog reset (wdr) the watch dog timer reset (wdr) occurs when the most significant bit of the 4-bit watch dog timer register transitions from low to high. writing any value to the write-only watch dog restart register at 0x21 will clear the timer. the watch dog timer is clocked by a 1.024 ms clock from the free running timer. if 8 clocks occur between wr ites to the timer, a wdr occurs. bit 6 of the status and cont rol register will be set to record the event. a watch dog timer reset lasts for 8.192 ms af ter which the microcontroller begins execution at rom address 0 x00. the usb transmitter is disabled by a watch dog reset because the usb device address register is cleared. otherwise, the usb controller would re spond to all address 0 trans actions. the transmitter remains disabled until the wdr bit in the status and control register is reset to 0 by firmware. figure 5-4. watch dog reset (wdr) 5.3.3 usb bus reset the usb controller rec ognizes a usb reset when a single ended zero (se0) condi tion persists for longer than 8 micro-se conds. se0 is defined as the condition in which both the d+ line and the dC line are low. bit 5 of the st atus and control register will be set to record this event. if the usb reset ha ppens while the device is suspended (such as after a por), the suspend co ndition will be cleared and the clock oscillator will be restarted. however, the m icrocont roller is not relea sed until the usb reset is removed. 5.4 on-chip timer the usb controller is equipped with an 8-bit free-running timer dr iven by a clock one-sixth the crystal freq uency. bits 0 through 7 of the counter are readable from the read-only timer register located at i/o address 0x23. the timer register is cleared duri ng a power-on reset. figure 5-5 illustrates the format of this register and figure 5-6 is its block diagram. with a 6 mhz cryst al, the timer resolution is 1 m s. the timer generates two interrupts: the 128 m s interrupt and the 1.024 ms interrupt. 7 6 5 4 3 2 1 0 r r r r r r r r count 7 count 6 count 5 count 4 count 3 count 2 count 1 count 0 figure 5-5. timer register (address 0x23) last write to watchdog timer register no write to wdt register, so wdr goes high execution begins at reset vector 0x00 8.192 ms 8.192 ms
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 12 5.5 general purpose i/o ports interface with peripherals is conducted via 12 gpio signals. these 12 signals are divided into two ports: port 0 and port 1. po rt 0 contains eight lines (p0.0Cp0.7) and port 1 contains up to eigth lines (p1.0Cp1.7), depending on the package. both ports can be accessed by the iord, iowr and iowx instructions. the port 0 data register is located at i/o address 0x00 while the port 1 data register is located at i/o address 0x01. the contents of both registers are set high during a reset. refer to figures 5-7 and 5-8 for the formats of the data registers. in addition to supporting general input/output functions, each i/o line can trigger an interrupt to the microcontroller. please refer to the interrupt section for more details. each gpio line includes an internal 16 k w resistor. this resistor provides both the pull-up function and slew control. two factors govern the enabling and disabling of each resistor: the state of its a ssoci ated port pull-up register bit and the state of the data register bit. the control bits in the port pull-up register are active low. the output is high when a 1 is written to the data register and the port pull-up register is 0. writing a 0 to the data register will disable the pull-up resistor and output a low regardless of the setting in the port pull-up register. the output will go to a high-z state if the data register bit and the port pull-up register bit are both 1. figure 5-9 illustrates the block diagram of one i/o line. the port isink register is used to control the output current level and it is descr ibed later in this section. table 5-2 is the output control truth table. figure 5-6. timer block diagram 7 6 5 4 3 2 1 0 r/w r/w r/w r/w r/w r/w r/w r/w p0.7 p0.6 p0.5 p0.4 p0.3 p0.2 p0.1 p0.0 figure 5-7. port 0 data register (address 0x00) 7 6 5 4 3 2 1 0 r/w r/w r/w r/w r/w r/w r/w r/w p1.7 p1.6 p1.5 p1.4 p1.3 p1.2 p1.1 p1.0 figure 5-8. port 1 data register (address 0x01) 10 97 8 5 6 4 3 2 10 crystal clock/6 1.024 ms interrupt 128 m s interrupt to timer register 8
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 13 to configure a gpio pin as an input, a 1 should be written to the port data register bit as sociated with that pin to disable the pull down function of the isink dac (see figure 5-9 ).when the port data register is read, the bit value will be a 1 if the voltage on the pin is greater than the schmitt trigger threshold and 0 if below the threshold. in applications where an internal pull -up is required, the 16k- w pull-up resistor can be engaged by writing a 0 to the appropriate bit in the port pull-up register. both port 0 and port 1 pull-up registers are write only (see figures 5-10 and 5-11 ). port 0 pull-up is located at i/o address 0x08 and port 1 pull-up is mapped to address 0x09. the contents of the port pull-up registers are cleared during reset, allowing the outputs to be controlled by the state of the data registers. the port pull-up registers also selects the polar ity of transition that generates a gpio interrupt. a 0 selects a high to low transition while a 1 selects a low to high transition. writing a 0 to the data register will drive the output low. instead of providing a fixed output drive, the usb controller allows the user to select an output sink current level for each i/o pin. the sink current of each output is controlled by a dedicated port isink register. the lower 4 bits of this register contain a code selecting one of sixteen sink current levels. the upper 4 bits of the register are ignored. the format of the port isink register is shown in figure 5-12 . figure 5-9. block diagram of an i/o line table 5-2. output control truth table data register port pull-up register output at i/o pin 0 0 sink current (0) 0 1 sink current (0) 1 0 pull-up resistor (1) 1 1 hi-z 7 6 5 4 3 2 1 0 w w w w w w w w pull p0.7 pull p0.6 pull p0.5 pull p0.4 pull p0.3 pull p0.2 pull p0.1 pull p0.0 figure 5-10. port 0 pull-up register (address 0x08) 7 6 5 4 3 2 1 0 w w w w w w w w pull p1.7 pull p1.6 pull p1.5 pull p1.4 pull p1.3 pull p1.2 pull p1.1 pull p1.0 figure 5-11. port 1 pull-up register (address 0x09) gpio pin v cc isink dac port isink register port data register port pull-up register 16 k w schmitt trigger data bus
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 14 port 0 is a low current port suitable for c onnect ing photo transistors. port 1 is a high current port capable of led drive. see section 7.0 for current ranges. 0000 is the lowest drive strength. 1111 is the highest. the write-only sink cur rent control registers for port 0 outputs are assig ned from i/o address 0x30 to 0x37 with the cont rol bits for p00 starting at 0x30. port 1 sink current control registers continue from i/o address 0x38 to 0x3b. all sink current control registers are cleared during a reset, resulting in the minimum drive setting. 5.6 instant-on feature (suspend mode) the usb controller can be placed in a low-power state by setting the su spend bit ( bit 3) of the status and control register. almost all logic blo cks in the device are turned off except the usb receiver, the gpio interrupt logic, and the cext interrupt logic. the clock oscillator as well as the free-running and watch dog timers are shut down. the suspend mode will be terminated when one of the three following conditions occur: 1. usb activity 2. a gpio interrupt 3. cext interrupt the clock oscillator, gpio and timers restart immediately on exiting suspend mode. the usb engine and microcontroller return to a fully functional state at most 256 us later. the microcontrol ler will execute the instruction following the i/o write that placed the device into s uspend mode bef ore servicing any interrupt requests. both the gpio interrupt and the cext interrupt allow the usb controller to wake-up periodically and poll potentiometers, optics , and other system components while maintaining a very low average power consumption. to use cext to generate an instant-on interrupt, the pin is connected to ground with an external capacitor and connected to vcc with an external resistor. a 0 is written to the cext register located at i/o address 0x22 to discharge the capacitor. a 1 is then written to disable the open-drain output dr iver. a schmitt trigger input circuit monitors the input and generates a wake-up interrupt when the input voltage rises above the input threshold. by changing the values of the external resistor and capacitor, the user can fine tune the charge rate of the r-c timing circuit. the format of the cext register is shown in figure 5-13 . reading the register returns the value of the cext pin. during a reset, the cext is high. 5.7 xtalin/xtalout xtalin and xtalout are the crystal osci llator pins. a 6 mhz crystal or ceramic resonator should be connected to these pins.the feedback capacitors and bias resistor are internal to the ic. figure 5-14. clock oscillator on-chip circuit 7 6 5 4 3 2 1 0 w w w w w w w w isink7 isink6 isink5 isink4 isink3 isink2 isink1 isink0 figure 5-12. port isink register for one gpio line 7 6 5 4 3 2 1 0 r/w reserved reserved reserved reserved reserved reserved reserved cext figure 5-13. the cext register (address 0x22) xtalout xtalin fxtal
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 15 5.8 interrupts interrupts are generated by the general purpose i/o lines, the cext pin, the internal timer, and the usb engine. all interrupts except reset are ma skable by the global interrupt enable register. access to this register is accomplished via iord, iowr and iowx instructions to address 0x20. wri ting a 1 to a bit position e nables the interrupt associated with that position. during a reset, the contents the interrupt enable register are cleared, disabling all interrupts. figure 5-15 illustrates the format of the global interrupt enable register. the interrupt controller contains a separate latch for each interrupt except the wake-up interrupt. when an interrupt is generated it is latched as a pending interrupt. it will stay as a pending interrupt until it is serviced or a reset occurs. the wake-up i nterrupt is not latched, and is pending whenever the cext pin is high. a pending inter rupt will only generate an interrupt request if it is enabled in the global interrupt enable register. the highest priority interrupt request will be serviced following the e xecution of the current instruction. when servicing an interrupt, the hardware will first disable all interrupts by clearing the global interrupt enable register. next, the interrupt latch of the current interrupt is cleared. this is followed by a call instruction to the rom address associated with the interrupt being serviced (i. e., the interrupt vector). the instruction in the interrupt table is typically a jmp instruction to the address of the interrupt service routine (isr). the user can re-enable interrupts in the interrupt service routine by writing t o the appropriate bits in the global interrupt enable register. interrupts can be nested to a level limited only by the available stack space. figure 5-16. interrupt controller logic block diagram the program counter value as well as the carry and zero flags (cf, zf) are automatically stored onto the program stack by the call instruction as part of the interrupt acknowledge pro cess. the user firmware is responsible for insuring that the processor state is preserved and restored during an interrupt. for example the push a instruction should be used as the first command in the isr to save the accumul ator value and the pop a instruction should be used just before the ret instruction to restore the accumulator value. the program counter cf and zf are restored when the ret instruction is executed. the interrupt vectors supported by the usb control ler are listed in table 5-3 . interrupt vector 0 (reset) has the highest pr iority, interrupt vector 7 has the lowest priority. because the jmp instruction is 2 bytes long, the interrupt vectors occupy 2 bytes. 7 6 5 4 3 2 1 0 r/w r/w r/w r/w r/w r/w r/w r/w wake-up interrupt enable gpio interrupt enable reserved usb ep1 interrupt enable usb ep0 interrupt enable 1.024 ms interrupt enable 128 us interrupt enable reserved figure 5-15. global interrupt enable register (address 0x20) clr global interrupt interrupt acknowledge irq 128 m s clr interrupt interrupt priority encoder enable [7:0] enable [1] dq logic 1 128 m s interrupt enable register clr clr enable [6] dq gpio interrupt 128 m s irq 1 ms clr 1 ms irq end p0 clr end p0 irq end p1 irq end p1 clr gpio clr gpio irq wake-up irq vector enable [7] cext clk clk logic 1
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 16 5.8.1 interrupt latency interrupt latency can be calculated from the following equation: interrupt latency = (number of clock cycles remaining in the current instruction) + (10 clock cycles for the call instruction) + (5 clock cycles for the jmp instruction) for example, if a 5 clock cycle instruction such as jc is being executed when an interrupt occurs, the first instruction of the interrupt ser vice routine will execute a m in. of 16 cl ocks (1+10+5) or a max. of 20 clocks (5+10+5) after the interrupt is issued. the interrupt l atches are sampled at the rising edge of the last clock cycle in the current instruction. 5.8.2 gpio interrupt the general purpose i/o interrupts are generated by signal transit ions at the port 0 and port 1 i/o pins. gpio interrupts are edge sensitive with programmable interrupt polarities. setting a bit high in the port pull-up register (see figure 5-10 and 5-11 ) selects a low to high interrupt trigger for the corresponding port pin. setting a bit low activates a high to low interrupt trigger. ea ch gpio interrupt is maskable on a per-pin basis by a dedicated bit in the port interrupt enable register. writing a 1 enables the interrupt. figure 5-17 and figure 5-18 illustrate the format of the port interrupt enable registers for port 0 and port 1 located at i/o address 0x04 and 0x05 respectively. these write only registers are cleared during reset, thus disabling all gpio interrupts. a block diagram of the gpio interrupt logic is shown in figure 5-19 . the bit setting in the port pull-up register selects the interrupt polarity. if the selected signal polarity is detected on the i/o pin a high signal is generated. if the port interrupt enable b it for this pin is high and no other port pins are requesting interrupts, then the 12-input or gate will issue a low to high signal to cloc k the gpio interrupt flip flop. the output of the flip flop is further qualified by the global gpio interrupt enable bit before i t is processed by the interrupt priority en coder. both the gpio interrupt flip flop and the global gpio enable bit are cleared during gpio interrupt a cknowledge by on-c hip hardware. table 5-3. interrupt vector assignments interrupt vector number rom address function 0 0x00 reset 1 0x02 128 m s timer interrupt 2 0x04 1.024 ms timer interrupt 3 0x06 usb end point 0 interrupt 4 0x08 usb end point 1 interrupt 5 0x0a reserved 6 0x0c gpio interrupt 7 0x0e wake-up interrupt 7 6 5 4 3 2 1 0 w w w w w w w w p0.7 int en p0.6 int en p0.5 int en p0.4 int en p0.3 int en p0.2 int en p0.1 int en p0.0 int en figure 5-17. port 0 interrupt enable register (address 0x04) 7 6 5 4 3 2 1 0 w w w w w w w w p1.7 int en p1.6 int en p1.5 int en p1.4 int en p1.3 int en p1.2 int en p1.1 int en p1.0 int en figure 5-18. port 1 interrupt enable register (address 0x05)
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 17 please note that if one port pin triggered an interrupt, no other port pins can cause a gpio interrupt until that port pin has returned to its inactive (non-trigger) state or its corres ponding port interrupt enable bit is cleared. the usb cont roller does not a ssign interrupt priority to different port pins and the port interrupt enable registers are not cleared during the interrupt acknowledge process. when a gpio interrupt is serviced, the isr must poll the ports to determine which pin caused the interrupt. 5.8.3 usb interrupt a usb end point 0 interrupt is generated after the host has written data to end point 0 or after the usb control ler has transmitted a packet from end point 0 and receives an ack from the host. an out packet from the host which is nakd by the usb controller will not generate an interrupt. this interrupt is masked by the usb ep0 interrupt enable bit (bit 3) of the global interr upt enable register. a usb end point 1 interrupt is generated after the usb control ler has transmitted a packet from end point 1 and has rec eived an ack from the host. this interrupt is ma sked by the usb ep1 interrupt enable bit (bit 4) of the global interrupt enable register. 5.8.4 timer interrupt there are two timer interrupts: the 128 m s interrupt and the 1.024 ms inter rupt. they are masked by bits 1 and 2 of the global interrupt enable register respectively. the user should disable both ti mer interrupts before going into the s uspend mode to avoid possible conflicts between servicing the interrupts first or the suspend request first. 5.8.5 wake-up interrupt a wake-up interrupt is generated when the cext pin is high. it is level sensitive and is not latched to the interrupt controller. it can be masked by the wake-up interrupt enable bit (bit 7) of the global interrupt enable register. this interrupt can be used to perform periodic checks on attached peripherals when the usb cont roller is placed in the low-power suspend mode. see the instant-on feature section for more details. 5.9 usb engine the usb engine includes the ser ial interface engine (sie) and the low-speed usb i/o transceivers. the sie block performs most of the usb interface functions with only minimal support from the microcontroller core. two end points are supported. end point 0 is used to receive and transmit control ( including setup) packets while end point 1 is only used to transmit data packets. the usb sie proc esses usb bus act ivity at the transaction level ind ependently. it does all the nrzi en coding/decoding and bit stuffing/unstuffing. it also determines token type, checks address and endpoint values, ge nerates and checks crc values and controls the flow of data bytes between the bus and the end point fifos. figure 5-19. gpio interrupt logic block diagram port pull-up register 1= l t h 0= h t l 12-input or gate gpio interrupt flip flop clr gpio pin 1 = enable 0 = disable port interrupt enable register 1 = enable 0 = disable interrupt acknowledge global gpio interrupt enable interrupt priority encoder irq interrupt vector d q clr m u x i
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 18 the firmware handles higher level and function specific tasks. during control transfers the firmware must interpret device requ ests and respond correctly. it also must coordinate suspend/resume, ver ify and select data toggle values, and perform function specific tasks. the usb engine and the firmware communicate though the end point fifos, usb end point interrupts, and the usb registers described in the sections below. 5.9.1 usb enumeration pr ocess the usb controller provides a usb device address register at i/o location 0x12. reading and writing this register is achieved via the iord and iowr instructions. the register contents are cleared during a reset, setting the usb address of the usb controller to 0. figure 5-20 shows the format of the usb address register. typical enumeration steps: 1. the host computer sends a setup packet followed by a data packet to usb address 0 requesting the device descriptor. 2. the usb controller de codes the request and retrieves its device descriptor from the program memory space. 3. the host computer performs a control read sequence and the usb controller re sponds by sending the device descriptor over the usb bus. 4. after receiving the descriptor, the host computer sends a setup pac ket followed by a data packet to address 0 assigning a new usb address to the device. 5. the usb controller stores the new address in its usb device address register af ter the no-data control sequence completes. 6. the host sends a request for the device descriptor using the new usb address. 7. the usb controller de codes the request and retrieves the device descriptor from the program memory. 8. the host performs a control read se quence and the usb cont roller responds by sending its device descriptor over the usb bus. 9. the host generates control reads to the usb contr oller to request the configuration and report descriptors. 10.the usb controller ret rieves the descriptors from its program space and returns the data to the host over the usb. 11.enumeration is complete after the host has received all the descriptors. 5.9.2 end point 0 all usb de vices are required to have an end point number 0 that is used to ini tialize and manipulate the device. end point 0 provides access to the devices c onfiguration information and allows generic usb status and control acc esses. end point 0 can receive and transmit data. both receive and transmit data share the same 8-byte end point 0 fifo located at data memory space 0x70 to 0x77. received data may overwrite the data previously in the fifo. 5.9.2.1 end point 0 receive after receiving a packet and placing the data into the end point 0 fifo, the usb controller updates the usb end point 0 rx register to record the receive status and then generates an usb end point 0 interrupt. the format of the end point 0 rx registe r is shown in figure 5-21 . this is a read/write register located at i/o address 0x14. any write to this register will clear all bits except bit 3 which remains unchang ed. all bits are cleared during reset. bit 0 is set to 1 when a setup token for end point 0 is received. once set to a 1 this bit remains high until it is cleared by an i/o write or a reset. while the data following a setup is being received by the usb engine, this bit will not be cleared by an i/o write. user firmware writes to the usb fifos are disabled when bit 0 is set. this prevents setup data from being overwritten. 7 6 5 4 3 2 1 0 r/w r/w r/w r/w r/w r/w r/w reserved adr6 adr5 adr4 adr3 adr2 adr1 adr0 figure 5-20. usb device address register (address 0x12) 7 6 5 4 3 2 1 0 r/w r/w r/w r/w r r/w r/w r/w count 3 count 2 count 1 count 0 data toggle in out setup figure 5-21. usb end point 0 rx register (address 0x14)
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 19 bits 1 and 2 are updated w henever a valid token is received on end point 0. bit 1 is set to 1 if an out token is received and cleared to 0 if any other token is received. bit 2 is set to 1 if an in token is received and cleared to 0 if any other token i s received. bit 3 shows the data toggle status of data packets received on end point 0. this bit is updated for data following setup tokens and for data following out tokens if stall (bit 5 of 0x10) is not set and either enableouts or statusouts (bits 3 and 4 of 0x13) are set. bits 4 to 7 are the count of the number of bytes received in a data packet. the two crc bytes are included in the count, so the count value is two greater than the number of data bytes received. the count is always updated and the data is always stored in the fifo for data p ackets fol lowing a setup token. the count for data following an out token is updated if stall (bit 5 of 0x10) is 0 and either enableouts or statusouts (bits 3 and 4 of 0x13) are 1. the data following an out will be written into the fifo if enableouts is set to 1 and stall and statusouts are 0. a maximum of 8 bytes are written into the end point 0 fifo. if there are less the 8 bytes of data the crc is written into the f ifo. due to register space lim itations, the receive data invalid bit is located in the usb end point 0 tx configuration register. refer to the end point 0 transmit section for details. this bit is set by the sie if an error is detected in a received data packet. the table below summarizes the usb engine response to setup and out tra nsact ions on end point 0. in the data packet column error represents a packet with a crc, pid or bit stuffing error, or a packet with more than 8 bytes of data. valid is a packet without an error. status is a packet that is a valid control read status stage, while n/status is not a correct status stage (see section 5.9.4). the stall bit is described is section 5.9.2.2. the statusouts and enableouts bits are described in s ection 5.9.4. 5.9.2.2 end point 0 t ransmit the usb end point 0 tx register located at i/o address 0x10 controls data transmission from end point 0 (see figure 5-23 ). this is a read/write register. all bits are cleared during reset. bits 0 to 3 indicate the numbers of data bytes to be transmitted during an in packet, valid values are 0 to 8 inclusive. bit 4 indicates that a rec eived data packet error (crc, pid, or bitstuffing error) occurred during a setup or out data phase. setting the stall bit (bit 5) will stall in and out packets. this bit is cleared whenever a setup packet is received by end poi nt 0. bit 6 (data 1/0) must be set to either 0 or 1 to select the data packets toggle state, 0 for data0, 1 for data1. control bit settings received packets usb engine response stall status out enable out token type data packet fifo write toggle update count update interrupt reply - - - setup valid yes yes yes yes ack - - - s e tu p er ror ye s ye s ye s ye s n o ne 0 0 1 out valid yes yes yes yes ack 0 0 1 o u t er ror ye s ye s ye s ye s n o ne 0 0 0 out valid no no no no nak 0 0 0 out error no no no no none 1 0 0 out valid no no no no stall 1 0 0 out error no no no no none 0 1 0 out status no yes yes yes ack 0 1 0 out n/status no yes yes yes stall 0 1 0 out error no yes no no none figure 5-22. usb engine response to setup and out transactions on end point 0 7 6 5 4 3 2 1 0 r/w r/w r/w r/w r/w r/w r/w r/w enable respond to in packets data 1/0 stall data invalid count 3 count 2 count 1 count 0 figure 5-23. usb end point 0 tx configuration register (address 0x10)
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 20 after the transmit data has been loaded into the fifo, bit 6 should be set according to the data toggle state and bit 7 set to 1. this enables the usb controller to re spond to an in pac ket. bit 7 is cleared and an end point 0 interrupt is generated by the sie once the host acknowledges the data transmission. bit 7 is also cleared when a setup token is received. the interrupt service routine can check bit 7 to confirm that the data transfer was suc cessful. 5.9.3 end point 1 end point 1 is capable of tra nsmit only. the data to be transmitted is stored in the 8-byte end point 1 fifo located at data memory space 0x78 to 0x7f. 5.9.3.1 end point 1 t ransmit transmission is controlled by the usb end point 1 tx register located at i/o address 0x11 (see figure 5-24 ). this is a read/write register. all bits are cleared during reset. bits 0 to 3 indicate the numbers of data bytes to be transmitted during an in packet, valid values are 0 to 8 inclusive. bit 4 must be set before end point 1 can be used. if this bit is cleared, the usb controller will ignore all traffic to end point 1. setting the stall bit (bit 5) will stall in and out packets until this bit is cleared. bit 6 (data 1/0) must be set to either 0 or 1 depending on the data packets toggle state, 0 for data0, 1 for data1. after the transmit data has been loaded into the fifo, bit 6 should be set according to the data toggle state and bit 7 set to 1. this enables the usb controller to re spond to an in pac ket. bit 7 is cleared and an end point 1 interrupt is generated by the sie once the host acknowledges the data transmission. 5.9.4 usb status and control usb status and control is regulated by usb status and cont rol register lo cated at i/o address 0x13 as shown in figure 5-25 . this is a read/write register. all reserved bits must be written to zero. all bits in the register are cleared during reset. bit 0 will be set by the sie if any usb activity except idle (d+ low, dC high) is detected. the user program should check and clear this bit periodically to detect any loss of bus activity. writing a 0 to this bit clears it. writing a 1 does not change its value. bit 1 is used to force the on-chip usb transmitter to the k state which will send a resume signal to the host. bit 2 is a reserved bit that must be set to 0. bit 3 is u sed to automatically respond to the status stage out of a control read transfer on end point 0. a valid status stage out contains a data1 p acket with 0 bytes of data. if the statusouts bit is set, the usb engine will respond to a valid status stage out with an ack, and any other out with a stall. the data is not written into the fifo when this bit is set. this bit is cleared when a setup token is received by end point 0. bit 4 is used to enable the receiving of end point 0 out packets. when this bit is set to 1, the data from an out tra nsact ion to be written into the end point 0 fifo and the usb engine re sponds with an ack. if this bit is 0, data will not be written to the fifo and the re sponse is a nak. this bit is cleared following a setup or out transaction. 7 6 5 4 3 2 1 0 r/w r/w r/w r/w r/w r/w r/w r/w enable respond to in packets data 1/0 stall end point 1 enable count 3 count 2 count 1 count 0 figure 5-24. usb end point 1 tx configuration register (address 0x11) 7 6 5 4 3 2 1 0 r/w r/w r/w r/w reserved reserved reserved enable outs statusouts reserved force resume bus activity figure 5-25. usb status and control register (address 0x13)
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 21 5.10 instruction set summary table 5-4. instruction set map mnemonic operand opcode cycles mnemonic operand opcode cycles halt 00 7 nop 20 4 add a,expr data 01 4 inc a acc 21 4 add a,[expr] direct 02 6 inc x x 22 4 add a,[x+expr] index 03 7 inc [expr] direct 23 7 adc a,expr data 04 4 inc [x+expr] index 24 8 adc a,[expr] direct 05 6 dec a acc 25 4 adc a,[x+expr] index 06 7 dec x x 26 4 sub a,expr data 07 4 dec [expr] direct 27 7 sub a,[expr] direct 08 6 dec [x+expr] index 28 8 sub a,[x+expr] index 09 7 iord expr address 29 5 sbb a,expr data 0a 4 iowr expr address 2a 5 sbb a,[expr] direct 0b 6 pop a 2b 4 sbb a,[x+expr] index 0c 7 pop x 2c 4 or a,expr data 0d 4 push a 2d 5 or a,[expr] direct oe 6 push x 2e 5 or a,[x+expr] index 0f 7 swap a,x 2f 5 and a,expr data 10 4 swap a,dsp 30 5 and a,[expr] direct 11 6 mov [expr],a direct 31 5 and a,[x+expr] index 12 7 mov [x+expr],a index 32 6 xor a,expr data 13 4 or [expr],a direct 33 7 xor a,[expr] direct 14 6 or [x+expr],a index 34 8 xor a,[x+expr] index 15 7 and [expr],a direct 35 7 cmp a,expr data 16 5 and [x+expr],a index 36 8 cmp a,[expr] direct 17 7 xor [expr],a direct 37 7 cmp a,[x+expr] index 18 8 xor [x+expr],a index 38 8 mov a,expr data 19 4 iowx [x+expr] index 39 6 mov a,[expr] direct 1a 5 cpl 3a 4 mov a,[x+expr] index 1b 6 asl 3b 4 mov x,expr data 1c 4 asr 3c 4 mov x,[expr] direct 1d 5 rlc 3d 4 ipret addr 1e 13 rrc 3e 4 xpage 1f 4 ret 3f 8 jmp addr 8x 5 jc addr cx 5 call addr 9x 10 jnc addr dx 5 jz addr ax 5 jacc addr ex 7 jnz addr bx 5 index addr fx 14
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 22 6.0 absolute maximum ratings storage temperature ........................................................................................................... .............................. C65 o c to +150 o c ambient temperature with power applied ......................................................................................... ..................... C0 o c to +70 o c supply voltage on v cc relative to v ss .................................................................................................................... C0.5v to +7 .0v dc input voltage ............................................................................................................... ............................ C0.5v to +v cc +0.5v dc voltage applied to outputs in high z state.................................................................................. ............. C0.5v to +v cc +0.5v max. output current into port 1 pins ........................................................................................... .......................................... 60 ma max. output current into non-port 1 pins....................................................................................... ...................................... 10 ma power dissipation.............................................................................................................. .................................................300 mw static discharge voltage ............................................................................................................. ....................................... >2000v latch-up current .............................................................................................................. ............................................... >200 ma 7.0 dc characteristics fosc = 6 mhz; operating temperature = 0 to 70c parameter min max units conditions general v cc operating voltage 4.0 5.25 v v max maximum applied voltage C0.5 6.5 v i cc v cc operating supply current 50 ma i sb1 supply current - suspend mode 100 m a oscillator off, dC > voh min i sb2 supply current - start-up mode 4 ma v cc = 5.0v v pp programming voltage (disabled) C0.4 0.4 v t start resonator start-up interval 256 m sv cc = 5.0v, ceramic resonator t int1 internal timer #1 interrupt period 128 128 m s t int2 internal timer #2 interrupt period 1.024 1.024 ms t watch watchdog timer period 7.168 8.192 ms power on reset v rst por voltage 2.0 3.4 v note [2, 6] t vccs vcc reset slew 0.5 100 ms linear ramp v cc : 0 to vrst usb interface v oh static output high 2.8 3.6 v 15k 5% w to gnd [3, 4] v ol static output low 0.3 v note 4 general purpose i/o r up pull-up resistance 8k 24k w s i sink0(0) port 0 sink current (0), lowest current 0.1 0.3 ma vout = 2.0 v dc, port 0 only [4] i sink0(f) port 0 sink current (f), highest current 0.5 1.5 ma vout = 2.0 v dc, port 0 only [4] i sink1(0) port 1 sink current (0), lowest current 1.6 4.8 ma vout = 2.0 v dc, port 1 only [4] i sink1(f) port 1 sink current (f), highest current 8 24 ma vout = 2.0 v dc, port 1 only [4] i range sink current max/min 4.5 5.5 vout = 2.0 v dc, port 0 or 1 [1, 10] i lin differential nonlinearity 0.5 lsb port 0 or port 1 [5] i il input leakage current 50 na cext only i ol sink current 6 18 ma cext only notes: 1. per table 7-6 of revision 1.0 of usb specification, for cload of 100C350pf. 2. power on reset will occur until the voltage on v cc increases above vrst. 3. rx: external idle resistor, 7.5 k w, 2%, to v cc .
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 23 8.0 switching characteristics notes: 4. 4.35 v to 5.25 v v cc . 5. measured as largest step size vs nominal according to measured full scale and zero programmed values. 6. por can occur only once per applied v cc , if v cc drops below vr st, por will not re-occur. v cc must return to 0.0v before por will be re-applied on a subsequent v cc ramp. 7. low to high transition 8. this parameter is guaranteed, but not tested. 9. t ratio = i sink1(n) /i sink0(n) for the same n 10. i range = i sink(f) /i sink(o) for port 0 or 1 output t sink current sink re sponse time 0.8 m s full scale transition general purpose i/o (continued) t ratio tracking ratio port1 to port0 13.6 18.4 vout = 2.0v [9] i max port 1 max sink current 60 ma summed over all port 1 bits p max port 1 & cext sink mode dissipation 25 mw per pin v ith input threshold voltage 45% 65% vcc all ports and cext [7] v h input hysteresis voltage 6% 12% vcc all ports and cext [8] v ol1 output low voltage, cext pin 0.4 v v cc = min., i ol = 2ma v ol2 output low voltage, cext pin 2.0 v v cc = min., i ol = 5ma parameter description min. max. unit t cyc input clock cycle time 166.67 166.67 ns t ch clock high time 0.45 t cyc ns t cl clock low time 0.45 t cyc ns t r transition rise time [1, 4, 8] 75 300 ns t f transition fall time [1, 4, 8] 75 300 ns 7.0 dc characteristics (continued) fosc = 6 mhz; operating temperature = 0 to 70c parameter min max units conditions
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 24 . document #: 38-00557-d figure 8-1. clock timing figure 8-2. usb data signal timing 9.0 ordering information ordering code eprom size number of gpio package type operating range cy7c63000-pc 2kb 12 20-pin (300-mil) pdip commercial cy7c63000-sc 2kb 12 20-pin (300-mil) soic commercial cy7c63001-pc 4kb 12 20-pin (300-mil) pdip commercial cy7c63001-sc 4kb 12 20-pin (300-mil) soic commercial cy7c63001-wc 4kb 12 20-pin (300-mil) windowed cerdip commercial cy7c63100-sc 2kb 16 24-pin (300-mil) soic commercial CY7C63101-sc 4kb 16 24-pin (300-mil) soic commercial CY7C63101-wc 4kb 16 24-pin (300-mil) windowed cerdip commercial cy7c63200-pc 2kb 10 18-pin (300-mil) pdip commercial cy7c63201-pc 4kb 10 18-pin (300-mil) pdip commercial cy7c63201-wc 4kb 10 18-pin (300-mil) windowed cerdip commercial clock t cyc t cl t ch 90% 10% 90% 10% d - d + t r t f
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 25 package diagrams 20-lead (300-mil) windowed cerdip w6 mil-std-1835 d- 8 config. a 18-lead (300-mil) molded dip
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary 26 package diagrams (continued) 20-lead (300-mil) molded dip 20-lead (300-mil) molded soic
cy7c63000/cy7c63001 cy7c63100/CY7C63101 cy7c63200/cy7c63201 preliminary ? cypress s emiconduc tor corporation, 1997. the information contained herein is s ubject to change without notice. cypress semiconductor corporation assumes no re sponsibility for the use of any circuitry other than circuitry embodied in a cypress semiconductor product. nor does it c onvey or imply any license under patent or other rights. cypress semiconductor does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected t o result in significant injury to the user. the inclusion of cypress semiconduc tor products in life-support sy stems application implies that the manufacturer assumes all risk of such use and in doing so indemni fies cypress semiconductor against all charges. package diagrams (continued) 24-lead (300-mil) molded soic 24-lead (300-mil) windowed cerdip w14 mil-std-1835 d- 9 config. a


▲Up To Search▲   

 
Price & Availability of CY7C63101

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X